package org.shiro.basic.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * Redis相关属性配置
 *
 * @author LiKun
 * @date 2021/11/2 15:52
 */
@Data
@Component
@ConfigurationProperties(prefix = "spring.redis")
public class RedisPropriety implements Serializable {
    private String port;

    private String host;

    private long timeout;
}
